home *** CD-ROM | disk | FTP | other *** search
MacBinary | 1987-04-16 | 4.4 KB | [TEXT/MPS ] |
open in:
MacOS 8.1
|
Win98
|
DOS
view JSON data
|
view as text
This file was processed as: MacBinary
(archive/macBinary).
You can browse this item here: MultiSkelEdit.mod
Confidence | Program | Detection | Match Type | Support
|
---|
66%
| dexvert
| SoundTracker Module (music/soundTracker)
| ext
| Supported |
65%
| dexvert
| Chip Tracker Module (music/chipTracker)
| ext
| Supported |
64%
| dexvert
| Protracker Module (music/mod)
| ext
| Supported |
63%
| dexvert
| Octalyser Module (music/octalyser)
| ext
| Supported |
61%
| dexvert
| Star Tracker/StarTrekker Module (music/starTracker)
| ext
| Supported |
10%
| dexvert
| MacBinary (archive/macBinary)
| fallback
| Supported |
1%
| dexvert
| PollyTracker Module (music/pollyTracker)
| ext
| Unsupported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| MacBinary II, inited, Thu Apr 16 18:35:36 1987, modified Thu Apr 16 18:35:36 1987, creator 'MPS ', type ASCII, 3862 bytes "MultiSkelEdit.mod" , at 0xf96 382 bytes resource
| default (weak)
| |
99%
| file
| data
| default
| |
74%
| TrID
| Macintosh plain text (MacBinary)
| default
| |
25%
| TrID
| MacBinary 2
| default (weak)
| |
100%
| siegfried
| fmt/1762 MacBinary (II)
| default
| |
100%
| lsar
| MacBinary
| default
|
|
id metadata |
---|
key | value |
---|
macFileType | [TEXT] |
macFileCreator | [MPS ] |
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 11 4d 75 6c 74 69 53 | 6b 65 6c 45 64 69 74 2e |..MultiS|kelEdit.|
|00000010| 6d 6f 64 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |mod.....|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 4d 50 53 | 20 01 00 00 00 00 00 00 |.TEXTMPS| .......|
|00000050| 00 00 00 00 00 0f 16 00 | 00 01 7e 9c ab 0d 38 9c |........|..~...8.|
|00000060| ab 0d 38 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |..8.....|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 e7 24 00 00 |........|.....$..|
|00000080| 49 4d 50 4c 45 4d 45 4e | 54 41 54 49 4f 4e 20 4d |IMPLEMEN|TATION M|
|00000090| 4f 44 55 4c 45 20 4d 75 | 6c 74 69 53 6b 65 6c 45 |ODULE Mu|ltiSkelE|
|000000a0| 64 69 74 3b 0d 0d 46 52 | 4f 4d 20 53 59 53 54 45 |dit;..FR|OM SYSTE|
|000000b0| 4d 20 49 4d 50 4f 52 54 | 20 41 44 52 2c 20 41 44 |M IMPORT| ADR, AD|
|000000c0| 44 52 45 53 53 3b 0d 46 | 52 4f 4d 20 53 74 72 69 |DRESS;.F|ROM Stri|
|000000d0| 6e 67 73 20 49 4d 50 4f | 52 54 20 53 74 72 32 35 |ngs IMPO|RT Str25|
|000000e0| 35 2c 20 4c 65 6e 67 74 | 68 2c 20 41 73 73 69 67 |5, Lengt|h, Assig|
|000000f0| 6e 3b 0d 46 52 4f 4d 20 | 53 63 72 61 70 4d 61 6e |n;.FROM |ScrapMan|
|00000100| 61 67 65 72 20 49 4d 50 | 4f 52 54 20 5a 65 72 6f |ager IMP|ORT Zero|
|00000110| 53 63 72 61 70 3b 0d 46 | 52 4f 4d 20 51 75 69 63 |Scrap;.F|ROM Quic|
|00000120| 6b 44 72 61 77 20 49 4d | 50 4f 52 54 20 52 65 63 |kDraw IM|PORT Rec|
|00000130| 74 2c 20 50 6f 69 6e 74 | 2c 20 45 72 61 73 65 52 |t, Point|, EraseR|
|00000140| 65 63 74 2c 20 54 65 78 | 74 46 6f 6e 74 2c 20 54 |ect, Tex|tFont, T|
|00000150| 65 78 74 53 69 7a 65 3b | 0d 46 52 4f 4d 20 4d 65 |extSize;|.FROM Me|
|00000160| 6e 75 4d 61 6e 61 67 65 | 72 20 49 4d 50 4f 52 54 |nuManage|r IMPORT|
|00000170| 20 45 6e 61 62 6c 65 49 | 74 65 6d 2c 20 44 69 73 | EnableI|tem, Dis|
|00000180| 61 62 6c 65 49 74 65 6d | 3b 0d 46 52 4f 4d 20 54 |ableItem|;.FROM T|
|00000190| 65 78 74 45 64 69 74 20 | 49 4d 50 4f 52 54 20 54 |extEdit |IMPORT T|
|000001a0| 45 48 61 6e 64 6c 65 2c | 20 54 45 54 6f 53 63 72 |EHandle,| TEToScr|
|000001b0| 61 70 2c 20 54 45 46 72 | 6f 6d 53 63 72 61 70 2c |ap, TEFr|omScrap,|
|000001c0| 20 54 45 43 75 74 2c 20 | 54 45 43 6f 70 79 2c 20 | TECut, |TECopy, |
|000001d0| 54 45 50 61 73 74 65 2c | 0d 09 09 09 09 09 09 09 |TEPaste,|........|
|000001e0| 09 09 09 20 54 45 44 65 | 6c 65 74 65 2c 20 54 45 |... TEDe|lete, TE|
|000001f0| 41 63 74 69 76 61 74 65 | 2c 20 54 45 44 65 61 63 |Activate|, TEDeac|
|00000200| 74 69 76 61 74 65 2c 20 | 54 45 4e 65 77 2c 20 54 |tivate, |TENew, T|
|00000210| 45 55 70 64 61 74 65 2c | 0d 09 09 09 09 09 09 09 |EUpdate,|........|
|00000220| 09 09 09 20 54 45 44 69 | 73 70 6f 73 65 2c 20 54 |... TEDi|spose, T|
|00000230| 45 49 6e 73 65 72 74 2c | 20 54 45 4b 65 79 2c 20 |EInsert,| TEKey, |
|00000240| 54 45 43 6c 69 63 6b 2c | 20 54 45 49 64 6c 65 2c |TEClick,| TEIdle,|
|00000250| 20 54 45 43 61 6c 54 65 | 78 74 3b 0d 46 52 4f 4d | TECalTe|xt;.FROM|
|00000260| 20 57 69 6e 64 6f 77 4d | 61 6e 61 67 65 72 20 49 | WindowM|anager I|
|00000270| 4d 50 4f 52 54 20 47 65 | 74 4e 65 77 57 69 6e 64 |MPORT Ge|tNewWind|
|00000280| 6f 77 2c 20 43 6c 6f 73 | 65 57 69 6e 64 6f 77 2c |ow, Clos|eWindow,|
|00000290| 20 57 69 6e 64 6f 77 50 | 74 72 3b 0d 46 52 4f 4d | WindowP|tr;.FROM|
|000002a0| 20 54 72 61 6e 73 53 6b | 65 6c 20 49 4d 50 4f 52 | TransSk|el IMPOR|
|000002b0| 54 20 53 6b 65 6c 57 69 | 6e 64 6f 77 2c 20 57 43 |T SkelWi|ndow, WC|
|000002c0| 6c 6f 73 65 50 72 6f 63 | 3b 0d 46 52 4f 4d 20 4d |loseProc|;.FROM M|
|000002d0| 75 6c 74 69 53 6b 65 6c | 47 6c 6f 62 61 6c 73 20 |ultiSkel|Globals |
|000002e0| 49 4d 50 4f 52 54 20 65 | 64 69 74 4d 65 6e 75 2c |IMPORT e|ditMenu,|
|000002f0| 20 65 64 69 74 57 69 6e | 64 2c 20 73 68 69 66 74 | editWin|d, shift|
|00000300| 4b 65 79 2c 20 44 72 61 | 77 47 72 6f 77 42 6f 78 |Key, Dra|wGrowBox|
|00000310| 2c 0d 09 09 09 09 09 09 | 09 09 09 09 09 09 09 09 |,.......|........|
|00000320| 20 65 64 69 74 57 69 6e | 64 52 65 73 3b 0d 0d 43 | editWin|dRes;..C|
|00000330| 4f 4e 53 54 0d 09 75 6e | 64 6f 09 3d 20 31 3b 0d |ONST..un|do.= 1;.|
|00000340| 09 63 75 74 09 09 3d 20 | 33 3b 0d 09 63 6f 70 79 |.cut..= |3;..copy|
|00000350| 09 3d 20 34 3b 0d 09 70 | 61 73 74 65 09 3d 20 35 |.= 4;..p|aste.= 5|
|00000360| 3b 0d 09 63 6c 65 61 72 | 09 3d 20 36 3b 0d 0d 56 |;..clear|.= 6;..V|
|00000370| 41 52 0d 09 74 65 45 64 | 69 74 3a 09 54 45 48 61 |AR..teEd|it:.TEHa|
|00000380| 6e 64 6c 65 3b 0d 09 77 | 68 6f 43 61 72 65 73 3a |ndle;..w|hoCares:|
|00000390| 20 4c 4f 4e 47 49 4e 54 | 3b 09 28 2a 20 44 75 6d | LONGINT|;.(* Dum|
|000003a0| 6d 79 20 6c 6f 6e 67 69 | 6e 74 20 2a 29 0d 09 73 |my longi|nt *)..s|
|000003b0| 6f 57 68 61 74 3a 20 49 | 4e 54 45 47 45 52 3b 09 |oWhat: I|NTEGER;.|
|000003c0| 09 28 2a 20 44 75 6d 6d | 79 20 69 6e 74 65 67 65 |.(* Dumm|y intege|
|000003d0| 72 20 2a 29 0d 09 0d 0d | 50 52 4f 43 45 44 55 52 |r *)....|PROCEDUR|
|000003e0| 45 20 45 64 69 74 57 69 | 6e 64 48 61 6c 74 3b 0d |E EditWi|ndHalt;.|
|000003f0| 0d 42 45 47 49 4e 0d 09 | 54 45 44 69 73 70 6f 73 |.BEGIN..|TEDispos|
|00000400| 65 28 74 65 45 64 69 74 | 29 3b 0d 09 43 6c 6f 73 |e(teEdit|);..Clos|
|00000410| 65 57 69 6e 64 6f 77 28 | 65 64 69 74 57 69 6e 64 |eWindow(|editWind|
|00000420| 29 3b 0d 45 4e 44 20 45 | 64 69 74 57 69 6e 64 48 |);.END E|ditWindH|
|00000430| 61 6c 74 3b 0d 0d 0d 50 | 52 4f 43 45 44 55 52 45 |alt;...P|ROCEDURE|
|00000440| 20 45 64 69 74 57 69 6e | 64 4d 61 69 6e 3b 0d 0d | EditWin|dMain;..|
|00000450| 42 45 47 49 4e 0d 09 54 | 45 49 64 6c 65 28 74 65 |BEGIN..T|EIdle(te|
|00000460| 45 64 69 74 29 3b 0d 45 | 4e 44 20 45 64 69 74 57 |Edit);.E|ND EditW|
|00000470| 69 6e 64 4d 61 69 6e 3b | 0d 0d 0d 50 52 4f 43 45 |indMain;|...PROCE|
|00000480| 44 55 52 45 20 45 64 69 | 74 57 69 6e 64 4b 65 79 |DURE Edi|tWindKey|
|00000490| 28 63 68 3a 20 43 48 41 | 52 3b 20 6d 6f 64 73 3a |(ch: CHA|R; mods:|
|000004a0| 20 42 49 54 53 45 54 29 | 3b 0d 0d 42 45 47 49 4e | BITSET)|;..BEGIN|
|000004b0| 0d 09 54 45 4b 65 79 28 | 63 68 2c 20 74 65 45 64 |..TEKey(|ch, teEd|
|000004c0| 69 74 29 3b 0d 45 4e 44 | 20 45 64 69 74 57 69 6e |it);.END| EditWin|
|000004d0| 64 4b 65 79 3b 0d 0d 0d | 50 52 4f 43 45 44 55 52 |dKey;...|PROCEDUR|
|000004e0| 45 20 45 64 69 74 57 69 | 6e 64 4d 6f 75 73 65 28 |E EditWi|ndMouse(|
|000004f0| 74 68 65 50 74 3a 20 50 | 6f 69 6e 74 3b 20 74 3a |thePt: P|oint; t:|
|00000500| 20 4c 4f 4e 47 49 4e 54 | 3b 20 6d 6f 64 73 3a 20 | LONGINT|; mods: |
|00000510| 42 49 54 53 45 54 29 3b | 0d 0d 42 45 47 49 4e 0d |BITSET);|..BEGIN.|
|00000520| 09 54 45 43 6c 69 63 6b | 28 74 68 65 50 74 2c 20 |.TEClick|(thePt, |
|00000530| 73 68 69 66 74 4b 65 79 | 20 49 4e 20 6d 6f 64 73 |shiftKey| IN mods|
|00000540| 2c 20 74 65 45 64 69 74 | 29 3b 0d 45 4e 44 20 45 |, teEdit|);.END E|
|00000550| 64 69 74 57 69 6e 64 4d | 6f 75 73 65 3b 0d 0d 0d |ditWindM|ouse;...|
|00000560| 28 2a 0d 09 55 70 64 61 | 74 65 20 74 65 78 74 20 |(*..Upda|te text |
|00000570| 77 69 6e 64 6f 77 2e 20 | 20 54 68 65 20 75 70 64 |window. | The upd|
|00000580| 61 74 65 20 65 76 65 6e | 74 20 6d 69 67 68 74 20 |ate even|t might |
|00000590| 62 65 20 69 6e 20 72 65 | 73 70 6f 6e 73 65 20 74 |be in re|sponse t|
|000005a0| 6f 20 61 20 77 69 6e 64 | 6f 77 0d 09 72 65 73 69 |o a wind|ow..resi|
|000005b0| 7a 69 6e 67 2e 20 20 49 | 66 20 73 6f 2c 20 72 65 |zing. I|f so, re|
|000005c0| 73 69 7a 65 20 74 68 65 | 20 72 65 63 74 73 20 61 |size the| rects a|
|000005d0| 6e 64 20 72 65 63 61 6c | 63 20 74 68 65 20 6c 69 |nd recal|c the li|
|000005e0| 6e 65 53 74 61 72 74 73 | 20 6f 66 20 74 68 65 20 |neStarts| of the |
|000005f0| 74 65 78 74 2e 0d 09 54 | 6f 20 72 65 73 69 7a 65 |text...T|o resize|
|00000600| 20 74 68 65 20 72 65 63 | 74 73 2c 20 6f 6e 6c 79 | the rec|ts, only|
|00000610| 20 74 68 65 20 72 69 67 | 68 74 20 65 64 67 65 20 | the rig|ht edge |
|00000620| 6f 66 20 74 68 65 20 64 | 65 73 74 72 65 63 74 20 |of the d|estrect |
|00000630| 6e 65 65 64 20 62 65 20 | 63 68 61 6e 67 65 64 0d |need be |changed.|
|00000640| 09 28 74 68 65 20 62 6f | 74 74 6f 6d 20 69 73 20 |.(the bo|ttom is |
|00000650| 6e 6f 74 20 75 73 65 64 | 2c 20 61 6e 64 20 74 68 |not used|, and th|
|00000660| 65 20 6c 65 66 74 20 61 | 6e 64 20 74 6f 70 20 72 |e left a|nd top r|
|00000670| 65 6d 61 69 6e 20 73 74 | 61 74 69 63 29 2e 20 20 |emain st|atic). |
|00000680| 54 68 65 0d 09 76 69 65 | 77 72 65 63 74 20 73 68 |The..vie|wrect sh|
|00000690| 6f 75 6c 64 20 62 65 20 | 73 69 7a 65 64 20 74 6f |ould be |sized to|
|000006a0| 20 74 68 65 20 73 63 72 | 65 65 6e 2e 0d 2a 29 0d | the scr|een..*).|
|000006b0| 0d 50 52 4f 43 45 44 55 | 52 45 20 45 64 69 74 57 |.PROCEDU|RE EditW|
|000006c0| 69 6e 64 55 70 64 61 74 | 65 28 72 65 73 69 7a 65 |indUpdat|e(resize|
|000006d0| 64 3a 20 42 4f 4f 4c 45 | 41 4e 29 3b 0d 0d 09 56 |d: BOOLE|AN);...V|
|000006e0| 41 52 0d 09 09 72 3a 20 | 52 65 63 74 3b 0d 0d 42 |AR...r: |Rect;..B|
|000006f0| 45 47 49 4e 0d 09 72 20 | 3a 3d 20 65 64 69 74 57 |EGIN..r |:= editW|
|00000700| 69 6e 64 5e 2e 70 6f 72 | 74 52 65 63 74 3b 0d 09 |ind^.por|tRect;..|
|00000710| 45 72 61 73 65 52 65 63 | 74 28 72 29 3b 0d 09 49 |EraseRec|t(r);..I|
|00000720| 4e 43 28 72 2e 6c 65 66 | 74 2c 20 34 29 3b 0d 09 |NC(r.lef|t, 4);..|
|00000730| 44 45 43 28 72 2e 62 6f | 74 74 6f 6d 2c 20 32 29 |DEC(r.bo|ttom, 2)|
|00000740| 3b 0d 09 49 4e 43 28 72 | 2e 74 6f 70 2c 20 32 29 |;..INC(r|.top, 2)|
|00000750| 3b 0d 09 44 45 43 28 72 | 2e 72 69 67 68 74 2c 20 |;..DEC(r|.right, |
|00000760| 31 39 29 3b 0d 09 0d 09 | 49 46 20 72 65 73 69 7a |19);....|IF resiz|
|00000770| 65 64 20 54 48 45 4e 0d | 09 09 74 65 45 64 69 74 |ed THEN.|..teEdit|
|00000780| 5e 5e 2e 64 65 73 74 52 | 65 63 74 2e 72 69 67 68 |^^.destR|ect.righ|
|00000790| 74 20 3a 3d 20 72 2e 72 | 69 67 68 74 3b 0d 09 09 |t := r.r|ight;...|
|000007a0| 74 65 45 64 69 74 5e 5e | 2e 76 69 65 77 52 65 63 |teEdit^^|.viewRec|
|000007b0| 74 20 3a 3d 20 72 3b 0d | 09 09 54 45 43 61 6c 54 |t := r;.|..TECalT|
|000007c0| 65 78 74 28 74 65 45 64 | 69 74 29 3b 0d 09 45 4e |ext(teEd|it);..EN|
|000007d0| 44 3b 0d 09 0d 09 44 72 | 61 77 47 72 6f 77 42 6f |D;....Dr|awGrowBo|
|000007e0| 78 28 65 64 69 74 57 69 | 6e 64 29 3b 0d 09 54 45 |x(editWi|nd);..TE|
|000007f0| 55 70 64 61 74 65 28 72 | 2c 20 74 65 45 64 69 74 |Update(r|, teEdit|
|00000800| 29 3b 0d 45 4e 44 20 45 | 64 69 74 57 69 6e 64 55 |);.END E|ditWindU|
|00000810| 70 64 61 74 65 3b 0d 0d | 0d 50 52 4f 43 45 44 55 |pdate;..|.PROCEDU|
|00000820| 52 45 20 45 64 69 74 57 | 69 6e 64 41 63 74 69 76 |RE EditW|indActiv|
|00000830| 61 74 65 28 61 63 74 69 | 76 65 3a 20 42 4f 4f 4c |ate(acti|ve: BOOL|
|00000840| 45 41 4e 29 3b 0d 0d 42 | 45 47 49 4e 0d 09 44 72 |EAN);..B|EGIN..Dr|
|00000850| 61 77 47 72 6f 77 42 6f | 78 28 65 64 69 74 57 69 |awGrowBo|x(editWi|
|00000860| 6e 64 29 3b 0d 09 49 46 | 20 61 63 74 69 76 65 20 |nd);..IF| active |
|00000870| 54 48 45 4e 0d 09 09 54 | 45 41 63 74 69 76 61 74 |THEN...T|EActivat|
|00000880| 65 28 74 65 45 64 69 74 | 29 3b 0d 09 09 44 69 73 |e(teEdit|);...Dis|
|00000890| 61 62 6c 65 49 74 65 6d | 28 65 64 69 74 4d 65 6e |ableItem|(editMen|
|000008a0| 75 2c 20 75 6e 64 6f 29 | 3b 0d 09 45 4c 53 45 0d |u, undo)|;..ELSE.|
|000008b0| 09 09 54 45 44 65 61 63 | 74 69 76 61 74 65 28 74 |..TEDeac|tivate(t|
|000008c0| 65 45 64 69 74 29 3b 0d | 09 09 45 6e 61 62 6c 65 |eEdit);.|..Enable|
|000008d0| 49 74 65 6d 28 65 64 69 | 74 4d 65 6e 75 2c 20 75 |Item(edi|tMenu, u|
|000008e0| 6e 64 6f 29 3b 0d 09 45 | 4e 44 3b 0d 45 4e 44 20 |ndo);..E|ND;.END |
|000008f0| 45 64 69 74 57 69 6e 64 | 41 63 74 69 76 61 74 65 |EditWind|Activate|
|00000900| 3b 0d 0d 0d 28 2a 0d 20 | 2a 09 48 61 6e 64 6c 65 |;...(*. |*.Handle|
|00000910| 20 65 64 69 74 20 6d 65 | 6e 75 20 69 74 65 6d 73 | edit me|nu items|
|00000920| 20 66 6f 72 20 74 68 65 | 20 74 65 78 74 20 77 69 | for the| text wi|
|00000930| 6e 64 6f 77 0d 20 2a 29 | 0d 0d 50 52 4f 43 45 44 |ndow. *)|..PROCED|
|00000940| 55 52 45 20 45 64 69 74 | 57 69 6e 64 45 64 69 74 |URE Edit|WindEdit|
|00000950| 4d 65 6e 75 28 69 74 65 | 6d 3a 20 49 4e 54 45 47 |Menu(ite|m: INTEG|
|00000960| 45 52 29 3b 0d 0d 42 45 | 47 49 4e 0d 09 43 41 53 |ER);..BE|GIN..CAS|
|00000970| 45 20 69 74 65 6d 20 4f | 46 0d 09 09 28 2a 20 63 |E item O|F...(* c|
|00000980| 75 74 20 73 65 6c 65 63 | 74 69 6f 6e 20 74 6f 20 |ut selec|tion to |
|00000990| 54 45 53 63 72 61 70 2c | 20 63 6c 65 61 72 20 63 |TEScrap,| clear c|
|000009a0| 6c 69 70 62 6f 61 72 64 | 20 26 20 70 75 74 20 54 |lipboard| & put T|
|000009b0| 45 53 63 72 61 70 20 69 | 6e 20 69 74 20 2a 29 0d |EScrap i|n it *).|
|000009c0| 09 09 63 75 74 3a 09 54 | 45 43 75 74 28 74 65 45 |..cut:.T|ECut(teE|
|000009d0| 64 69 74 29 3b 0d 09 09 | 09 09 09 77 68 6f 43 61 |dit);...|...whoCa|
|000009e0| 72 65 73 20 3a 3d 20 5a | 65 72 6f 53 63 72 61 70 |res := Z|eroScrap|
|000009f0| 28 29 3b 0d 09 09 09 09 | 09 73 6f 57 68 61 74 20 |();.....|.soWhat |
|00000a00| 3a 3d 20 54 45 54 6f 53 | 63 72 61 70 28 29 3b 0d |:= TEToS|crap();.|
|00000a10| 09 09 7c 0d 09 09 28 2a | 20 63 6f 70 79 20 73 65 |..|...(*| copy se|
|00000a20| 6c 65 63 74 69 6f 6e 20 | 74 6f 20 54 45 53 63 72 |lection |to TEScr|
|00000a30| 61 70 2c 20 63 6c 65 61 | 72 20 63 6c 69 70 62 6f |ap, clea|r clipbo|
|00000a40| 61 72 64 20 26 20 70 75 | 74 20 54 45 53 63 72 61 |ard & pu|t TEScra|
|00000a50| 70 20 69 6e 20 69 74 20 | 2a 29 0d 09 09 63 6f 70 |p in it |*)...cop|
|00000a60| 79 3a 09 54 45 43 6f 70 | 79 28 74 65 45 64 69 74 |y:.TECop|y(teEdit|
|00000a70| 29 3b 0d 09 09 09 09 09 | 77 68 6f 43 61 72 65 73 |);......|whoCares|
|00000a80| 20 3a 3d 20 5a 65 72 6f | 53 63 72 61 70 28 29 3b | := Zero|Scrap();|
|00000a90| 0d 09 09 09 09 09 73 6f | 57 68 61 74 20 3a 3d 20 |......so|What := |
|00000aa0| 54 45 54 6f 53 63 72 61 | 70 28 29 3b 0d 09 09 7c |TEToScra|p();...||
|00000ab0| 0d 09 09 28 2a 20 63 6f | 70 79 20 63 6c 69 70 62 |...(* co|py clipb|
|00000ac0| 6f 61 72 64 20 69 6e 74 | 6f 20 54 45 53 63 72 61 |oard int|o TEScra|
|00000ad0| 70 2c 20 70 75 74 20 54 | 45 53 63 72 61 70 20 69 |p, put T|EScrap i|
|00000ae0| 6e 74 6f 20 74 68 65 20 | 65 64 69 74 20 72 65 63 |nto the |edit rec|
|00000af0| 6f 72 64 20 2a 29 0d 09 | 09 70 61 73 74 65 3a 09 |ord *)..|.paste:.|
|00000b00| 73 6f 57 68 61 74 20 3a | 3d 20 54 45 46 72 6f 6d |soWhat :|= TEFrom|
|00000b10| 53 63 72 61 70 28 29 3b | 0d 09 09 09 09 09 09 54 |Scrap();|.......T|
|00000b20| 45 50 61 73 74 65 28 74 | 65 45 64 69 74 29 3b 0d |EPaste(t|eEdit);.|
|00000b30| 09 09 7c 0d 09 09 28 2a | 20 64 65 6c 65 74 65 20 |..|...(*| delete |
|00000b40| 73 65 6c 65 63 74 69 6f | 6e 20 61 6e 64 20 69 67 |selectio|n and ig|
|00000b50| 6e 6f 72 65 20 69 74 20 | 2a 29 0d 09 09 63 6c 65 |nore it |*)...cle|
|00000b60| 61 72 3a 09 54 45 44 65 | 6c 65 74 65 28 74 65 45 |ar:.TEDe|lete(teE|
|00000b70| 64 69 74 29 3b 0d 09 09 | 45 4c 53 45 20 28 2a 20 |dit);...|ELSE (* |
|00000b80| 44 6f 20 6e 6f 74 68 69 | 6e 67 20 2a 29 0d 09 45 |Do nothi|ng *)..E|
|00000b90| 4e 44 3b 0d 45 4e 44 20 | 45 64 69 74 57 69 6e 64 |ND;.END |EditWind|
|00000ba0| 45 64 69 74 4d 65 6e 75 | 3b 0d 0d 0d 50 52 4f 43 |EditMenu|;...PROC|
|00000bb0| 45 44 55 52 45 20 45 64 | 69 74 57 69 6e 64 49 6e |EDURE Ed|itWindIn|
|00000bc0| 69 74 3b 0d 0d 09 56 41 | 52 0d 09 09 72 3a 20 52 |it;...VA|R...r: R|
|00000bd0| 65 63 74 3b 0d 09 09 61 | 53 74 72 3a 20 53 74 72 |ect;...a|Str: Str|
|00000be0| 32 35 35 3b 0d 09 09 0d | 42 45 47 49 4e 0d 09 65 |255;....|BEGIN..e|
|00000bf0| 64 69 74 57 69 6e 64 20 | 3a 3d 20 47 65 74 4e 65 |ditWind |:= GetNe|
|00000c00| 77 57 69 6e 64 6f 77 28 | 65 64 69 74 57 69 6e 64 |wWindow(|editWind|
|00000c10| 52 65 73 2c 20 56 41 4c | 28 41 44 44 52 45 53 53 |Res, VAL|(ADDRESS|
|00000c20| 2c 20 4e 49 4c 29 2c 20 | 56 41 4c 28 57 69 6e 64 |, NIL), |VAL(Wind|
|00000c30| 6f 77 50 74 72 2c 20 2d | 31 44 29 29 3b 0d 09 53 |owPtr, -|1D));..S|
|00000c40| 6b 65 6c 57 69 6e 64 6f | 77 28 09 65 64 69 74 57 |kelWindo|w(.editW|
|00000c50| 69 6e 64 2c 0d 09 09 09 | 09 09 09 09 45 64 69 74 |ind,....|....Edit|
|00000c60| 57 69 6e 64 4d 6f 75 73 | 65 2c 09 09 09 09 28 2a |WindMous|e,....(*|
|00000c70| 20 4d 6f 75 73 65 20 63 | 6c 69 63 6b 20 61 63 74 | Mouse c|lick act|
|00000c80| 69 6f 6e 20 70 72 6f 63 | 20 2a 29 0d 09 09 09 09 |ion proc| *).....|
|00000c90| 09 09 09 45 64 69 74 57 | 69 6e 64 4b 65 79 2c 09 |...EditW|indKey,.|
|00000ca0| 09 09 09 09 28 2a 20 4b | 65 79 20 63 6c 69 63 6b |....(* K|ey click|
|00000cb0| 20 61 63 74 69 6f 6e 20 | 70 72 6f 63 20 2a 29 0d | action |proc *).|
|00000cc0| 09 09 09 09 09 09 09 45 | 64 69 74 57 69 6e 64 55 |.......E|ditWindU|
|00000cd0| 70 64 61 74 65 2c 09 09 | 09 09 28 2a 20 55 70 64 |pdate,..|..(* Upd|
|00000ce0| 61 74 65 20 65 76 65 6e | 74 20 68 61 6e 64 6c 65 |ate even|t handle|
|00000cf0| 72 20 70 72 6f 63 20 2a | 29 0d 09 09 09 09 09 09 |r proc *|).......|
|00000d00| 09 45 64 69 74 57 69 6e | 64 41 63 74 69 76 61 74 |.EditWin|dActivat|
|00000d10| 65 2c 09 09 09 28 2a 20 | 41 63 74 69 76 61 74 65 |e,...(* |Activate|
|00000d20| 20 65 76 65 6e 74 20 68 | 61 6e 64 6c 65 72 20 70 | event h|andler p|
|00000d30| 72 6f 63 20 2a 29 0d 09 | 09 09 09 09 09 09 56 41 |roc *)..|......VA|
|00000d40| 4c 28 57 43 6c 6f 73 65 | 50 72 6f 63 2c 20 4e 49 |L(WClose|Proc, NI|
|00000d50| 4c 29 2c 09 28 2a 20 4e | 6f 20 63 6c 6f 73 65 20 |L),.(* N|o close |
|00000d60| 68 61 6e 64 6c 65 72 20 | 70 72 6f 63 20 2a 29 0d |handler |proc *).|
|00000d70| 09 09 09 09 09 09 09 45 | 64 69 74 57 69 6e 64 48 |.......E|ditWindH|
|00000d80| 61 6c 74 2c 09 09 09 09 | 09 28 2a 20 57 69 6e 64 |alt,....|.(* Wind|
|00000d90| 6f 77 20 63 6c 6f 62 62 | 65 72 20 70 72 6f 63 20 |ow clobb|er proc |
|00000da0| 2a 29 0d 09 09 09 09 09 | 09 09 45 64 69 74 57 69 |*)......|..EditWi|
|00000db0| 6e 64 4d 61 69 6e 2c 09 | 09 09 09 09 28 2a 20 49 |ndMain,.|....(* I|
|00000dc0| 64 6c 65 20 70 72 6f 63 | 65 64 75 72 65 20 2a 29 |dle proc|edure *)|
|00000dd0| 0d 09 09 09 09 09 09 09 | 54 52 55 45 29 3b 09 09 |........|TRUE);..|
|00000de0| 09 09 09 09 09 09 28 2a | 20 43 61 6c 6c 20 69 74 |......(*| Call it|
|00000df0| 20 65 76 65 6e 20 69 66 | 20 6e 6f 74 20 66 72 6f | even if| not fro|
|00000e00| 6e 74 6d 6f 73 74 20 2a | 29 0d 09 0d 09 54 65 78 |ntmost *|)....Tex|
|00000e10| 74 46 6f 6e 74 28 30 29 | 3b 09 09 09 09 28 2a 09 |tFont(0)|;....(*.|
|00000e20| 44 69 73 70 6c 61 79 20 | 69 6e 20 53 79 73 74 65 |Display |in Syste|
|00000e30| 6d 20 46 6f 6e 74 20 2d | 20 43 68 69 63 61 67 6f |m Font -| Chicago|
|00000e40| 20 2a 29 0d 09 54 65 78 | 74 53 69 7a 65 28 30 29 | *)..Tex|tSize(0)|
|00000e50| 3b 09 09 09 09 28 2a 09 | 44 69 73 70 6c 61 79 20 |;....(*.|Display |
|00000e60| 69 6e 20 53 79 73 74 65 | 6d 20 53 69 7a 65 20 2d |in Syste|m Size -|
|00000e70| 20 31 32 70 74 20 2a 29 | 0d 09 0d 09 72 20 3a 3d | 12pt *)|....r :=|
|00000e80| 20 65 64 69 74 57 69 6e | 64 5e 2e 70 6f 72 74 52 | editWin|d^.portR|
|00000e90| 65 63 74 3b 0d 09 49 4e | 43 28 72 2e 6c 65 66 74 |ect;..IN|C(r.left|
|00000ea0| 2c 20 34 29 3b 0d 09 49 | 4e 43 28 72 2e 74 6f 70 |, 4);..I|NC(r.top|
|00000eb0| 2c 20 32 29 3b 0d 09 44 | 45 43 28 72 2e 72 69 67 |, 2);..D|EC(r.rig|
|00000ec0| 68 74 2c 20 31 39 29 3b | 0d 09 44 45 43 28 72 2e |ht, 19);|..DEC(r.|
|00000ed0| 62 6f 74 74 6f 6d 2c 20 | 32 29 3b 0d 09 74 65 45 |bottom, |2);..teE|
|00000ee0| 64 69 74 20 3a 3d 20 54 | 45 4e 65 77 28 72 2c 20 |dit := T|ENew(r, |
|00000ef0| 72 29 3b 0d 09 41 73 73 | 69 67 6e 28 22 54 68 69 |r);..Ass|ign("Thi|
|00000f00| 73 20 69 73 20 61 20 74 | 65 78 74 20 65 64 69 74 |s is a t|ext edit|
|00000f10| 69 6e 67 20 77 69 6e 64 | 6f 77 2e 20 22 2c 20 61 |ing wind|ow. ", a|
|00000f20| 53 74 72 29 3b 0d 09 61 | 53 74 72 5b 4c 65 6e 67 |Str);..a|Str[Leng|
|00000f30| 74 68 28 61 53 74 72 29 | 2d 31 5d 20 3a 3d 20 31 |th(aStr)|-1] := 1|
|00000f40| 35 43 3b 0d 09 54 45 49 | 6e 73 65 72 74 28 41 44 |5C;..TEI|nsert(AD|
|00000f50| 52 28 61 53 74 72 29 2c | 20 4c 65 6e 67 74 68 28 |R(aStr),| Length(|
|00000f60| 61 53 74 72 29 2c 20 74 | 65 45 64 69 74 29 3b 0d |aStr), t|eEdit);.|
|00000f70| 45 4e 44 20 45 64 69 74 | 57 69 6e 64 49 6e 69 74 |END Edit|WindInit|
|00000f80| 3b 0d 0d 45 4e 44 20 4d | 75 6c 74 69 53 6b 65 6c |;..END M|ultiSkel|
|00000f90| 45 64 69 74 2e 0d 00 00 | 00 00 00 00 00 00 00 00 |Edit....|........|
|00000fa0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000fb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000fc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000fd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000fe0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000ff0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001000| 00 00 01 00 00 00 01 4c | 00 00 00 4c 00 00 00 32 |.......L|...L...2|
|00001010| 3d 20 54 45 4e 65 77 28 | 72 2c 20 72 29 3b 0d 09 |= TENew(|r, r);..|
|00001020| 41 73 73 69 67 6e 28 22 | 54 68 69 73 20 69 73 20 |Assign("|This is |
|00001030| 1a 31 2e 20 44 44 45 78 | 70 61 6e 64 45 78 70 61 |.1. DDEx|pandExpa|
|00001040| 6e 64 54 65 6d 70 46 69 | 6c 65 20 78 02 00 00 00 |ndTempFi|le x....|
|00001050| 00 00 44 44 54 4d 44 44 | 41 50 01 00 00 00 00 00 |..DDTMDD|AP......|
|00001060| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001070| 00 00 a5 f4 97 74 00 00 | 0f 16 00 00 01 7e 53 74 |.....t..|.....~St|
|00001080| 72 29 2c 20 4c 65 6e 67 | 74 68 28 61 53 74 72 29 |r), Leng|th(aStr)|
|00001090| 2c 20 74 65 45 64 69 74 | 29 3b 0d 45 4e 44 20 45 |, teEdit|);.END E|
|000010a0| 64 69 74 57 69 6e 64 49 | 6e 69 74 3b 0d 0d 45 4e |ditWindI|nit;..EN|
|000010b0| 44 20 4d 75 6c 74 69 53 | 6b 65 6c 45 64 69 74 2e |D MultiS|kelEdit.|
|000010c0| 0d fd 96 50 8f 2f 00 4e | ba f4 26 28 00 4a 84 58 |...P./.N|..&(.J.X|
|000010d0| 8f 66 06 74 02 60 00 00 | 8e 59 02 66 10 48 78 00 |.f.t.`..|.Y.f.Hx.|
|000010e0| 01 2f 03 48 6e ff f0 2f | 2e ff f4 60 0c 42 a7 2f |./.Hn../|...`.B./|
|000010f0| 03 48 6e ff f0 2f 2e ff | f0 2f 04 4e ba e6 d8 4f |.Hn../..|./.N...O|
|00001100| 00 00 00 48 00 0a 43 6f | 75 72 69 65 72 00 52 54 |...H..Co|urier.RT|
|00001110| 20 41 44 52 2c 20 41 44 | 44 52 45 53 53 3b 0d 46 | ADR, AD|DRESS;.F|
|00001120| 52 4f 4d 20 53 74 00 06 | 00 02 00 29 00 03 01 53 |ROM St..|...)...S|
|00001130| 01 fd 00 64 00 1c 01 53 | 01 fd 9c aa d4 f8 00 00 |...d...S|........|
|00001140| 04 c0 00 00 04 c0 00 00 | 0c 7a 01 00 00 00 01 00 |........|.z......|
|00001150| 00 00 01 4c 00 00 00 4c | 00 00 00 32 00 00 cc 28 |...L...L|...2...(|
|00001160| 02 94 00 00 00 1c 00 32 | 00 00 4d 50 53 52 00 00 |.......2|..MPSR..|
|00001170| 00 0a 03 ed ff ff 00 00 | 00 00 00 01 aa f6 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+